Leviticus 20:2-5

20:2 “You are to say to the Israelites, ‘Any man from the Israelites or from the foreigners who reside in Israel who gives any of his children to Molech must be put to death; the people of the land must pelt him with stones. 20:3 I myself will set my face against that man and cut him off from the midst of his people, because he has given some of his children to Molech and thereby defiled my sanctuary and profaned my holy name. 20:4 If, however, the people of the land shut their eyes to that man when he gives some of his children to Molech so that they do not put him to death, 20:5 I myself will set my face against that man and his clan. I will cut off from the midst of their people both him and all who follow after him in spiritual prostitution, to commit prostitution by worshiping Molech.